package com.cc.entity;

import java.io.Serializable;
import java.util.Date;

import org.apache.ibatis.type.Alias;

/**
 * 
    * @ClassName: User  
    * @Description: 用户信息  
    * @author 新梦想IT学院.陈超
    * @date 2019年7月23日  
    *    
 */
@Alias("user1")
public class User implements Serializable {
	private Integer id;
	//private String id;
	//private String username;// 用户姓名 user_name   userName
	private String userName;// 用户姓名 
	private String sex;// 性别
	private Date birthday;// 生日
	private String address;// 地址

	public User() {
    }
    public User(Integer id, String userName, Date birthday, String sex, String address) {
        super();
        this.id = id;
        this.userName = userName;
        this.sex = sex;
        this.birthday = birthday;
        this.address = address;
    }
    public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public Date getBirthday() {
		return birthday;
	}
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	@Override
	public String toString() {
		return "User [id=" + id + ", userName=" + userName + ", sex=" + sex
				+ ", birthday=" + birthday + ", address=" + address + "]\n";
	}
    public String getUserName() {
        return userName;
    }
    public void setUserName(String userName) {
        this.userName = userName;
    }
    public Integer getId() {
        return id;
    }
    public void setId(Integer id) {
        this.id = id;
    }
   
	
	
}
